package com.aspose.cells;

import java.util.Iterator;

public class zcfs implements Iterable {
   public zcfq a;

   public zcfs(zcfq var1) {
      this.a = var1;
   }

   public Iterator iterator() {
      return new zcfr(this.a);
   }

   public int a() {
      int var1 = 0;

      for(zcfq var2 = this.a.k(); var2 != null; var2 = var2.l()) {
         ++var1;
      }

      return var1;
   }

   public zcfq a(int var1) {
      if (var1 >= 0) {
         for(zcfq var2 = this.a.k(); var2 != null; --var1) {
            if (var1 == 0) {
               return var2;
            }

            var2 = var2.l();
         }
      }

      return null;
   }

   public zcfq a(String var1) {
      for(zcfq var2 = this.a.k(); var2 != null; var2 = var2.l()) {
         if (com.aspose.cells.b.a.zv.b(var2.i(), var1)) {
            return var2;
         }
      }

      return null;
   }
}
